#coding:utf-8

file =open("re.txt", mode='r+')

# print(file.readline())
# #
# # file.next()
# print(file.readline())
# print(file.readlines())
# file.write("eric")
list1 = file.readlines()   #直接转换成列表了列表
for l in list1:
    l = l[:-1]
    # print(l.split(","))
    ll = l.split(",")    #split "hello,liyl" 用逗号分开，装进列表里。["hello","liyl"]
    username =ll[0]
    password = ll[1]
    print(username)
    print(password)
    # print("username:{} ____passwrod:{}".format(ll[0],ll[1]))

file.flush()
file.close()

#git